@import './setting/_space.scss';
@import './setting/_radius.scss';
@import './setting/_color.scss';
@import './setting/_text.scss';
@import './setting/_size.scss';
@import './setting/_border.scss';

page {
	background-color: #ffffff;
	color: #232323;
	font-size: 28rpx;
}

.cursor-pointer {
	cursor: pointer;
}

.form-submit-bar {
	width: calc(100vw - 28rpx * 2);
	position: fixed;
	z-index: 1;
	bottom: 0;
	background-color: $white;
	padding: 16rpx 28rpx;
}
.code-button:after {
	border: 0 !important;
}
.code-button {
	background-color: transparent;
	color: $primary;
	font-size: 16px;
	padding: 0 12px;
	margin: 0;
	display: flex;
	align-items: center;
}

.code-button.button-hover {
	color: $primary;
	opacity: 0.6;
	background-color: transparent;
}

uni-button.code-button[disabled],button.code-button[disabled]{
	background-color: transparent !important;
}

.bottom-bar {
	width: 100%;
	height: $bottom-bar-height;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 98;
	background-color: $white;
	box-shadow: 0rpx 0rpx 10rpx 1rpx rgba(0, 0, 0, 0.2);
	.bototm-box {
		padding: 25rpx 28rpx;
	}
}

.text-cut {
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	overflow: hidden !important;
}

.text-cut-2 {
	white-space: normal !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
}

/* ==================
          组件
 ==================== */

/* ==================
          布局
 ==================== */

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

/*  -- flex弹性布局 -- */

.flex {
	display: flex;
}

.basis-20 {
	flex-basis: 20%;
}

.basis-40 {
	flex-basis: 40%;
}

.basis-50 {
	flex-basis: 50%;
}

.basis-60 {
	flex-basis: 60%;
}

.basis-80 {
	flex-basis: 80%;
}

.flex-1 {
	flex: 1;
}

.flex-2 {
	flex: 2;
}

.flex-3 {
	flex: 3;
}

.flex-4 {
	flex: 4;
}

.flex-5 {
	flex: 5;
}

.flex-direction {
	flex-direction: column;
}

.flex-wrap {
	flex-wrap: wrap;
}

.align-start {
	align-items: flex-start;
}

.align-end {
	align-items: flex-end;
}

.align-center {
	align-items: center;
}

.align-stretch {
	align-items: stretch;
}

.self-start {
	align-self: flex-start;
}

.self-center {
	align-self: flex-center;
}

.self-end {
	align-self: flex-end;
}

.self-stretch {
	align-self: stretch;
}

.align-stretch {
	align-items: stretch;
}

.justify-start {
	justify-content: flex-start;
}

.justify-end {
	justify-content: flex-end;
}

.justify-center {
	justify-content: center;
}

.justify-between {
	justify-content: space-between;
}

.justify-around {
	justify-content: space-around;
}
